Platform Explorer / Nuxeo Platform 2021.54

Operation Context.SetInputAsVar (Set Context Variable From Input)

Description

Set a context variable that points to the current input object. You must give a name for the variable. This operation works on any input type and return back the input as the output.
Operation id Context.SetInputAsVar
Category Execution Context
Label Set Context Variable From Input
Requires
Since

Parameters

Name Description Type Required Default value
name string yes  

Signature

Inputs void
Outputs void

Implementation Information

Implementation Class Class: org.nuxeo.ecm.automation.core.operations.SetInputAsVar
Contributing Component org.nuxeo.ecm.core.automation.coreContrib

JSON Definition

{
  "id" : "Context.SetInputAsVar",
  "label" : "Set Context Variable From Input",
  "category" : "Execution Context",
  "requires" : null,
  "description" : "Set a context variable that points to the current input object. You must give a name for the variable. This operation works on any input type and return back the input as the output.",
  "url" : "Context.SetInputAsVar",
  "signature" : [ "void", "void" ],
  "params" : [ {
    "name" : "name",
    "description" : null,
    "type" : "string",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}